home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-MIPS / REG.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  1KB  |  69 lines

  1. /*
  2.  * Various register offset definitions for debuggers, core file
  3.  * examiners and whatnot.
  4.  *
  5.  * This file is subject to the terms and conditions of the GNU General Public
  6.  * License.  See the file "COPYING" in the main directory of this archive
  7.  * for more details.
  8.  *
  9.  * Copyright (C) 1995 by Ralf Baechle
  10.  */
  11. #ifndef __ASM_MIPS_REG_H
  12. #define __ASM_MIPS_REG_H
  13.  
  14. /*
  15.  * This defines/structures correspond to the register layout on stack -
  16.  * if the order here is changed, it needs to be updated in
  17.  * include/asm-mips/stackframe.h
  18.  */
  19. #define EF_REG0            6
  20. #define EF_REG1            7
  21. #define EF_REG2            8
  22. #define EF_REG3            9
  23. #define EF_REG4            10
  24. #define EF_REG5            11
  25. #define EF_REG6            12
  26. #define EF_REG7            13
  27. #define EF_REG8            14
  28. #define EF_REG9            15
  29. #define EF_REG10        16
  30. #define EF_REG11        17
  31. #define EF_REG12        18
  32. #define EF_REG13        19
  33. #define EF_REG14        20
  34. #define EF_REG15        21
  35. #define EF_REG16        22
  36. #define EF_REG17        23
  37. #define EF_REG18        24
  38. #define EF_REG19        25
  39. #define EF_REG20        26
  40. #define EF_REG21        27
  41. #define EF_REG22        28
  42. #define EF_REG23        29
  43. #define EF_REG24        30
  44. #define EF_REG25        31
  45. /*
  46.  * k0/k1 unsaved
  47.  */
  48. #define EF_REG28        34
  49. #define EF_REG29        35
  50. #define EF_REG30        36
  51. #define EF_REG31        37
  52.  
  53. /*
  54.  * Saved special registers
  55.  */
  56. #define EF_LO            38
  57. #define EF_HI            39
  58. #define EF_ORIG_REG2        40
  59. #define EF_ORIG_REG7        41
  60.  
  61. #define EF_CP0_EPC        42
  62. #define EF_CP0_BADVADDR        43
  63. #define EF_CP0_STATUS        44
  64. #define EF_CP0_CAUSE        45
  65.  
  66. #define EF_SIZE            180
  67.  
  68. #endif /* __ASM_MIPS_REG_H */
  69.